package com.tcs.check;

/**
 * 验证参数
 * @author wangbo
 * @param <P>
 */
public interface ICheckParams<P> {

	/**
	 * 验证
	 * @param p
	 * @return {@link Boolean}
	 * @exception NullPointerException
	 * @exception IllegalArgumentException
	 * @exception IllegalAccessException
	 */
	boolean check(P p) throws NullPointerException, IllegalArgumentException, IllegalAccessException ;
}